package legoproject.TestStubs;

import legoproject.*;

public class LightSensorTestStub {
    SimpleSlider panel;

    public LightSensorTestStub(String name, PCReporter reporter){
        panel = new SimpleSlider(60, "UltrasonicSensorTestStub " + name);
        panel.setOpaque(true);
        reporter.addComponent(panel);
    }

    public int readValue() {
        return panel.getValue();
    }
}
